<?php
   $m_rs=mysql_query("select * from member where m_user='$_GET[w_name]' and  m_mode=1 and m_sh=1 limit 1");
   $m_num=mysql_num_rows($m_rs);
      if($m_num)
	  {
	     $m_row=mysql_fetch_array($m_rs);
		 $member_id=$m_row['id'];
		 $template=$m_row['template'];
		$strdizhi = $m_row['pro'].$m_row['city'].$m_row['diqu'];
	  }
	  else
	  {
       echo "<script>location='/error.html';</script>";
	  }
?>
